package com.violet.service.manager;

import com.violet.domain.dto.manager.MRiderDto;
import com.violet.domain.result.ResultPage;
import com.violet.domain.search.MyPage;
import com.violet.domain.search.manager.MRiderSearch;
import com.violet.domain.vo.manager.MRiderVo;

import java.util.List;

public interface MRiderService {

    ResultPage<List<MRiderVo>> search(MRiderSearch search, MyPage myPage);

    List<MRiderVo> getOnJobAll();

    MRiderVo create(MRiderDto dto);

    Boolean deleteById(String id);

    MRiderVo updateById(String id, MRiderDto dto);

}
